package http.method.support;

import java.lang.annotation.Annotation;
import java.util.Map;

public class MethodParameter {
    private volatile Class<?> parameterType;
    private volatile String parameterName;
    private Annotation[] parameterAnnotations;
    private volatile boolean wrapperBean;
    private Map<String, Object> reqParam;

    public Class<?> getParameterType() {
        return parameterType;
    }

    public void setParameterType(Class<?> parameterType) {
        this.parameterType = parameterType;
    }

    public String getParameterName() {
        return parameterName;
    }

    public void setParameterName(String parameterName) {
        this.parameterName = parameterName;
    }

    public Annotation[] getParameterAnnotations() {
        return parameterAnnotations;
    }

    public void setParameterAnnotations(Annotation[] parameterAnnotations) {
        this.parameterAnnotations = parameterAnnotations;
    }

    public boolean isWrapperBean() {
        return wrapperBean;
    }

    public void setWrapperBean(boolean wrapperBean) {
        this.wrapperBean = wrapperBean;
    }

    public Map<String, Object> getReqParam() {
        return reqParam;
    }

    public void setReqParam(Map<String, Object> reqParam) {
        this.reqParam = reqParam;
    }
}
